package cn.ycms.bean;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.Proxy;


@Entity
@Table(name = "person")
@Proxy(lazy = false)
public class Person {
	private int id;
	public String getMark() {
		return mark;
	}

	public void setMark(String mark) {
		this.mark = mark;
	}

	public void setId(int id) {
		this.id = id;
	}
	private String name;
	private String mark;
	
	public Person(){}
	
	public Person(String name) {
		this.name = name;
	}
	@Id
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
}
